<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>

        <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script>

        <script src="<?php echo base_url(); ?>js/jquery-1.7.1.min.js"></script>
        <script src="<?php echo base_url(); ?>js/jquery-ui-1.8.18.custom.min.js"></script>

        <link rel="stylesheet" href="<?php echo base_url(); ?>css/ui/jquery-ui-1.8.18.custom.css">
        <link rel="stylesheet" href="<?php echo base_url(); ?>css/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css">
        <link rel="stylesheet" href="<?php echo base_url(); ?>css/ebarrio.css">


        <?php
        require_once('/recaptcha/recaptchalib.php');
        $captcha_publickey = $publickey;
//        $captcha_publickey = $_POST["publickey"];
        $error_captcha = null;
        ?>

    </head>
    <body>
        <div id="recaptcha_div">

            <p class="validateTips">Todos los campos son obligatorios.</p>

            <form>
                <fieldset>
                    <label for="email">Email</label>
                    <input type="text" name="email" id="email" value="" class="text ui-widget-content ui-corner-all" />
                    <label for="password">Código Postal</label>
                    <input type="text" name="password" id="password" value="" class="text ui-widget-content ui-corner-all" />

                </fieldset>
                            <?php
            //escribimos en la página lo que nos devuelve recaptcha_get_html()
                    echo recaptcha_get_html($captcha_publickey, $error_captcha);
            ?>

            </form>



        </div>
    </body>
</html>
